#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#define SWAP(y) (((y&0xaaaaaaaa)>>1)+((y&0x55555555)<<1))
int main()
{
	int a = 10;
	printf("%d\n", SWAP(a));
	return 0;
}